<?php
if (!defined('BASE_PATH'))
    exit('No direct script access allowed');

/**
 * 忘道Php框架 
 * 
 * 作者 爱是小微笑 
 * 联系 QQ：549193902 EMAIL：549193902@qq.com
 * 2013-10-10 16:30:55
 */
// ------------------------------------------------------------------------
class Controller {

    private static $instance;

    public function __construct() {
        self::$instance = & $this;
        $this->load = load_class("loader");
        $this->load->initialize();
        //$this->checkuser();
    }

    public static function &get_instance() {
        return self::$instance;
    }

}
